﻿@{
    
    var modelValue = ViewData.TemplateInfo.FormattedModelValue;
    if ( Model == DateTime.MinValue )
    {
        modelValue = "";
    }
    
}
@Html.TextBox( "", modelValue, ViewData.ModelMetadata.MergeAttributes<HtmlAttributesAttribute>( new { @class = Html.GetProfile().DateTimeClasses } ) )